package com.glsc.ngateway.common.api.flowable.dto.front.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})
public class FrontFlowEdge implements Serializable {

    private static final long serialVersionUID = -3786144867295320955L;

    @ApiModelProperty(value = "边id")
    private String edgeId;

    @ApiModelProperty(value = "from  key")
    private String fromNodeTaskKey;

    @ApiModelProperty(value = "to key")
    private String toNodeTaskKey;

    @ApiModelProperty(value = "折点坐标")
    private List<FrontFlowEdgeFoldPoint> foldPointList;

}